import { JoinProjectResponse } from '@entity/join_project';
import { SystemMsg, SystemProjectJoinMsg } from '@entity/system_msg';
import { Component, Prop, Vue } from 'vue-property-decorator'
import SystemMsgModel from '@message/system/model/Index.vue'

@Component({
    components: {
        SystemMsgModel
    }
})
export class JoinProjectResponseView extends Vue {

    @Prop({
        default: () => new SystemMsg()
    })
    /** 系统消息 */
    private msg: SystemMsg;
    
    /** 
     * 获取系统消息中的项目反馈信息
     */
    get systemMsg(): SystemProjectJoinMsg<JoinProjectResponse> {
        return this.msg.data;
    }

    /** 
     * 获取反馈
     */
    get response(): JoinProjectResponse {
        return this.systemMsg.data;
    }

}